home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / program / gcc / gcc270-0.lha / gnu / NEWS-2.7.0 < prev    next >
Text File  |  1995-07-25  |  27KB  |  706 lines

  1. Noteworthy changes in GCC version 2.7.0:
  2.  
  3. GCC now works better on systems that use ".obj" and ".exe" instead of
  4. ".o" and no extension.  This involved changes to the driver program,
  5. gcc.c, to convert ".o" names to ".obj" and to GCC's Makefile to use
  6. ".obj" and ".exe" in filenames that are not targets.  In order to
  7. build GCC on such systems, you may need versions of GNU make and/or
  8. compatible shells.  At this point, this support is preliminary.
  9.  
  10. Object file extensions of ".obj" and executable file extensions of
  11. ".exe" are allowed when using appropriate version of GNU Make.
  12.  
  13. Numerous enhancements were made to the __attribute__ facility including
  14. more attributes and more places that support it.  We now support the
  15. "packed", "nocommon", "noreturn", "volatile", "const", "unused",
  16. "transparent_union", "constructor", "destructor", "mode", "section",
  17. "align", "format", "weak", and "alias" attributes.  Each of these
  18. names may also be specified with added underscores, e.g., "__packed__".
  19. __attribute__ may now be applied to parameter definitions, function
  20. definitions, and structure, enum, and union definitions.
  21.  
  22. GCC now supports returning more structures in registers, as specified by
  23. many calling sequences (ABIs), such as on the HP PA RISC.
  24.  
  25. A new option '-fpack-struct' was added to automatically pack all structure
  26. members together without holes.
  27.  
  28. There is a new library (cpplib) and program (cppmain) that at some
  29. point will replace cpp (aka cccp).  To use cppmain as cpp now, pass
  30. the option CCCP=cppmain to make.  The library is already used by the
  31. fix-header program, which should speed up the fixproto script.
  32.  
  33. New options for supported targets:
  34.  
  35.     GNU on many targets.
  36.     NetBSD on MIPS, m68k, VAX, and x86.
  37.     LynxOS on x86, m68k, Sparc, and RS/6000.
  38.     VxWorks on many targets.
  39.  
  40.     Windows/NT on x86 architecture.  Initial support for Windows/NT on Alpha
  41.     (not fully working).
  42.  
  43.     Many embedded targets, specifically UDI on a29k, aout, coff, elf,
  44.     and vsta "operating systems" on m68k, m88k, mips, sparc, and x86.
  45.  
  46. Additional support for x86 (i386, i486, and Pentium):
  47.  
  48.     Work with old and new linkers for Linux-based GNU systems,
  49.     supporting both a.out and ELF.
  50.     FreeBSD on x86.
  51.     Stdcall convention.
  52.     -malign-double, -mregparm=, -malign-loops= and -malign-jumps=  switches.
  53.     On ISC systems, support -Xp like -posix.
  54.  
  55. Additions for RS/6000:
  56.  
  57.     Instruction scheduling information for PowerPC 403.
  58.     AIX 4.1 on PowerPC.
  59.     -mstring and -mno-string.
  60.     -msoft-float and floating-point emulation included.
  61.     Preliminary support for PowerPC System V.4 with or without the GNU as.
  62.     Preliminary support for EABI.
  63.     Preliminary support for 64-bit systems.
  64.     Both big and little endian systems.
  65.  
  66. New features for MIPS-based systems:
  67.  
  68.     r4650.
  69.     mips4 and R8000.
  70.     Irix 6.0.
  71.     64-bit ABI.
  72.     Allow dollar signs in labels on SGI/Irix 5.x.
  73.  
  74. New support for HP PA RISC:
  75.  
  76.     Generation of PIC (requires binutils-2.5.2.u6 or later).
  77.     HP-UX version 9 on HP PA RISC (dynamically links even with -g).
  78.     Processor variants for HP PA RISC: 700, 7100, and 7100LC.
  79.     Automatic generation of long calls when needed.
  80.     -mfast-indirect-calls for kernels and static binaries.
  81.  
  82.     The called routine now copies arguments passed by invisible reference,
  83.     as required by the calling standard.
  84.  
  85. Other new miscellaneous target-specific support:
  86.  
  87.     -mno-multm on a29k.
  88.     -mold-align for i960.
  89.     Configuration for "semi-hosted" ARM.
  90.     -momit-leaf-frame-pointer for M88k.
  91.     SH3 variant of Hitachi Super-H and support both big and little endian.
  92.  
  93. Changes to Objective-C:
  94.  
  95.     Bare-bones implementation of NXConstantString has been added,
  96.     which is invoked by the @"string" directive.
  97.  
  98.     Class * has been changed to Class to conform to the NextSTEP and
  99.     OpenStep runtime.
  100.  
  101.     Enhancements to make dynamic loading easier.
  102.  
  103.     The module version number has been updated to Version 7, thus existing
  104.     code will need to be recompiled to use the current run-time library.
  105.  
  106. GCC now supports the ISO Normative Addendum 1 to the C Standard.
  107. As a result:
  108.  
  109.     The header <iso646.h> defines macros for C programs written
  110.     in national variants of ISO 646.
  111.  
  112.     The following digraph tokens are supported:
  113.     <:    :>    <%    %>    %:    %:%:
  114.     These behave like the following, respectively:
  115.     [    ]    {    }    #    ##
  116.  
  117.     Digraph tokens are supported unless you specify the `-traditional'
  118.     option; you do not need to specify `-ansi' or `-trigraphs'.  Except
  119.     for contrived and unlikely examples involving preprocessor
  120.     stringizing, digraph interpretation doesn't change the meaning of
  121.     programs; this is unlike trigraph interpretation, which changes the
  122.     meanings of relatively common strings.
  123.  
  124.     The macro __STDC_VERSION__ has the value 199409L.
  125.  
  126.   As usual, for full conformance to the standard, you also need a
  127.   C library that conforms.
  128.  
  129. The following lists changes that have been made to g++.  If some
  130. features mentioned below sound unfamiliar, you will probably want to
  131. look at the recently-released public review copy of the C++ Working
  132. Paper.  For PostScript and PDF (Adobe Acrobat) versions, see the
  133. archive at ftp://research.att.com/dist/stdc++/WP.  For HTML and ASCII
  134. versions, see ftp://ftp.cygnus.com/pub/g++.  On the web, see
  135. http://www.cygnus.com/~mrs/wp-draft.
  136.  
  137. The scope of variables declared in the for-init-statement has been changed
  138. to conform to http://www.cygnus.com/~mrs/wp-draft/stmt.html#stmt.for; as a
  139. result, packages such as groff 1.09 will not compile unless you specify the
  140. -fno-for-scope flag.  PLEASE DO NOT REPORT THIS AS A BUG; this is a change
  141. mandated by the C++ standardization committee.
  142.  
  143. Binary incompatibilities:
  144.  
  145.     The builtin 'bool' type is now the size of a machine word on RISC targets,
  146.     for code efficiency; it remains one byte long on CISC targets.
  147.  
  148.     Code that does not use #pragma interface/implementation will most
  149.     likely shrink dramatically, as g++ now only emits the vtable for a
  150.     class in the translation unit where its first non-inline, non-abstract
  151.     virtual function is defined.
  152.  
  153.     Classes that do not define the copy constructor will sometimes be
  154.     passed and returned in registers.  This may illuminate latent bugs in
  155.     your code.
  156.  
  157. Support for automatic template instantiation has *NOT* been added, due
  158. to a disagreement over design philosophies.
  159.  
  160. Support for exception handling has been improved; more targets are now
  161. supported, and throws will use the RTTI mechanism to match against the
  162. catch parameter type.  Optimization is NOT SUPPORTED with
  163. -fhandle-exceptions; no need to report this as a bug.
  164.  
  165. Support for Run-Time Type Identification has been added with -frtti.
  166. This support is still in alpha; one major restriction is that any file
  167. compiled with -frtti must include <typeinfo.h>.
  168.  
  169. Preliminary support for namespaces has been added.  This support is far
  170. from complete, and probably not useful.
  171.  
  172. Synthesis of compiler-generated constructors, destructors and
  173. assignment operators is now deferred until the functions are used.
  174.  
  175. The parsing of expressions such as `a ? b : c = 1' has changed from
  176. `(a ? b : c) = 1' to `a : b ? (c = 1)'.
  177.  
  178. The code generated for testing conditions, especially those using ||
  179. and &&, is now more efficient.
  180.  
  181. The operator keywords and, and_eq, bitand, bitor, compl, not, not_eq,
  182. or, or_eq, xor and xor_eq are now supported.  Use -ansi or
  183. -foperator-names to enable them.
  184.  
  185. The 'explicit' keyword is now supported.  'explicit' is used to mark
  186. constructors and type conversion operators that should not be used
  187. implicitly.
  188.  
  189. g++ now accepts the typename keyword, though it currently has no
  190. semantics; it can be a no-op in the current template implementation.
  191. You may want to start using it in your code, however, since the
  192. pending rewrite of the template implementation to compile STL properly
  193. (perhaps for 2.8.0, perhaps not) will require you to use it as
  194. indicated by the current draft.
  195.  
  196. Handling of user-defined type conversion has been overhauled so that
  197. type conversion operators are now found and used properly in
  198. expressions and function calls.
  199.  
  200. -fno-strict-prototype now only applies to function declarations with
  201. "C" linkage.
  202.  
  203. g++ now warns about 'if (x=0)' with -Wparentheses or -Wall.
  204.  
  205. #pragma weak and #pragma pack are supported on System V R4 targets, as
  206. are various other target-specific #pragmas supported by gcc.
  207.  
  208. new and delete of const types is now allowed (with no additional
  209. semantics).
  210.  
  211. Explicit instantiation of template methods is now supported.  Also,
  212. 'inline template class foo<int>;' can be used to emit only the vtable
  213. for a template class.
  214.  
  215. With -fcheck-new, g++ will check the return value of all calls to
  216. operator new, and not attempt to modify a returned null pointer.
  217.  
  218. The template instantiation code now handles more conversions when
  219. passing to a parameter that does not depend on template arguments.
  220. This means that code like 'string s; cout << s;' now works.
  221.  
  222. Invalid jumps in a switch statement past declarations that require
  223. initializations are now caught.
  224.  
  225. Functions declared 'extern inline' now have the same linkage semantics
  226. as inline member functions.  On supported targets, where previously
  227. these functions (and vtables, and template instantiations) would have
  228. been defined statically, they will now be defined as weak symbols so
  229. that only one out-of-line definition is used.
  230.  
  231. collect2 now demangles linker output, and c++filt has become part of
  232. the gcc distribution.
  233.  
  234. Noteworthy changes in GCC version 2.6.3:
  235.  
  236. A few more bugs have been fixed.
  237.  
  238. Noteworthy changes in GCC version 2.6.2:
  239.  
  240. A few bugs have been fixed.
  241.  
  242. Names of attributes can now be preceded and followed by double underscores.
  243.  
  244. Noteworthy changes in GCC version 2.6.1:
  245.  
  246. Numerous (mostly minor) bugs have been fixed.
  247.  
  248. The following new configurations are supported:
  249.  
  250.     GNU on x86 (instead of treating it like MACH)
  251.     NetBSD on Sparc and Motorola 68k
  252.     AIX 4.1 on RS/6000 and PowerPC systems
  253.     Sequent DYNUX/ptx 1.x and 2.x.
  254.     Both COFF and ELF configurations on AViiON without using /bin/gcc
  255.     Windows/NT on x86 architecture; preliminary
  256.     AT&T DSP1610 digital signal processor chips
  257.     i960 systems on bare boards using COFF
  258.     PDP11; target only and not extensively tested
  259.  
  260. The -pg option is now supported for Alpha under OSF/1 V3.0 or later.
  261.  
  262. Files with an extension of ".c++" are treated as C++ code.
  263.  
  264. The -Xlinker and -Wl arguments are now passed to the linker in the
  265. position they were specified on the command line.  This makes it
  266. possible, for example, to pass flags to the linker about specific
  267. object files.
  268.  
  269. The use of positional arguments to the configure script is no longer
  270. recommended.  Use --target= to specify the target; see the GCC manual.
  271.  
  272. The 386 now supports two new switches: -mreg-alloc=<string> changes
  273. the default register allocation order used by the compiler, and
  274. -mno-wide-multiply disables the use of the mul/imul instructions that
  275. produce 64 bit results in EAX:EDX from 32 bit operands to do long long
  276. multiplies and 32-bit division by constants.
  277.  
  278. Noteworthy changes in GCC version 2.6.0:
  279.  
  280. Numerous bugs have been fixed, in the C and C++ front-ends, as
  281. well as in the common compiler code.
  282.  
  283. This release includes the C, Objective-C, and C++ compilers.  However,
  284. we have moved the files for the C++ compiler (G++) files to a
  285. subdirectory, cp.  Subsequent releases of GCC will split these files
  286. to a separate TAR file.
  287.  
  288. The G++ team has been tracking the development of the ANSI standard for C++.
  289. Here are some new features added from the latest working paper:
  290.  
  291.     * built-in boolean type 'bool', with constants 'true' and 'false'.
  292.     * array new and delete (operator new [] and delete []).
  293.     * WP-conforming lifetime of temporaries.
  294.     * explicit instantiation of templates (template class A<int>;),
  295.           along with an option (-fno-implicit-templates) to disable emission
  296.           of implicitly instantiated templates, obsoletes -fexternal-templates.
  297.     * static member constants (static const int foo = 4; within the
  298.           class declaration).
  299.  
  300. Many error messages have been improved to tell the user more about the
  301. problem.  Conformance checking with -pedantic-errors has been
  302. improved.  G++ now compiles Fresco.
  303.  
  304. There is now an experimental implementation of virtual functions using
  305. thunks instead of Cfront-style vtables, enabled with -fvtable-thunks.
  306. This option also enables a heuristic which causes the compiler to only
  307. emit the vtable in the translation unit where its first non-inline
  308. virtual function is defined; using this option and
  309. -fno-implicit-templates, users should be able to avoid #pragma
  310. interface/implementation altogether.
  311.  
  312. Signatures have been added as a GNU C++ extension.  Using the option
  313. -fhandle-signatures, users are able to turn on recognition of
  314. signatures.  A short introduction on signatures is in the section
  315. `Extension to the C++ Language' in the manual.
  316.  
  317. The `g++' program is now a C program, rather than a shell script.
  318.  
  319. Lots and lots and lots of bugs fixes, in nested types, access control,
  320. pointers to member functions, the parser, templates, overload
  321. resolution, etc, etc.
  322.  
  323. There have been two major enhancements to the Objective-C compiler:
  324.  
  325. 1) Added portability.  It now runs on Alpha, and some problems with
  326.    message forwarding have been addressed on other platforms.
  327.  
  328. 2) Selectors have been redefined to be pointers to structs like:
  329.    { void *sel_id, char *sel_types }, where the sel_id is the unique
  330.    identifier, the selector itself is no longer unique.  
  331.  
  332.    Programmers should use the new function sel_eq to test selector
  333.    equivalence.
  334.  
  335. The following major changes have been made to the base compiler and
  336. machine-specific files.
  337.  
  338. - The MIL-STD-1750A is a new port, but still preliminary.
  339.  
  340. - The h8/300h is now supported; both the h8/300 and h8/300h ports come
  341.   with 32 bit IEEE 754 software floating point support.
  342.  
  343. - The 64-bit Sparc (v9) and 64-bit MIPS chips are supported.
  344.  
  345. - NetBSD is supported on m68k, Intel x86, and pc523 systems and FreeBSD
  346.   on x86.
  347.  
  348. - COFF is supported on x86, m68k, and Sparc systems running LynxOS.
  349.  
  350. - 68K systems from Bull and Concurrent are supported and System V
  351.   Release 4 is supported on the Atari.
  352.  
  353. - GCC supports GAS on the Motorola 3300 (sysV68) and debugging
  354.   (assuming GAS) on the Plexus 68K system.  (However, GAS does not yet
  355.   work on those systems).
  356.  
  357. - System V Release 4 is supported on MIPS (Tandem).
  358.  
  359. - For DG/UX, an ELF configuration is now supported, and both the ELF
  360.   and BCS configurations support ELF and COFF object file formats.
  361.  
  362. - OSF/1 V2.0 is supported on Alpha.
  363.  
  364. - Function profiling is also supported on Alpha.
  365.  
  366. - GAS and GDB is supported for Irix 5 (MIPS).
  367.  
  368. - "common mode" (code that will run on both POWER and PowerPC
  369.   architectures) is now supported for the RS/6000 family; the
  370.   compiler knows about more PPC chips.
  371.  
  372. - Both NeXTStep 2.1 and 3 are supported on 68k-based architectures.
  373.  
  374. - On the AMD 29k, the -msoft-float is now supported, as well as
  375.   -mno-sum-in-toc for RS/6000, -mapp-regs and -mflat for Sparc, and
  376.   -membedded-pic for MIPS.
  377.  
  378. - GCC can now convert division by integer constants into the equivalent
  379.   multiplication and shift operations when that is faster than the
  380.   division.
  381.     
  382. - Two new warning options, -Wbad-function-cast and
  383.   -Wmissing-declarations have been added.
  384.  
  385. - Configurations may now add machine-specific __attribute__ options on
  386.   type; many machines support the `section' attribute.
  387.  
  388. - The -ffast-math flag permits some optimization that violate strict
  389.   IEEE rules, such as converting X * 0.0 to 0.0.
  390.  
  391. Noteworthy changes in GCC version 2.5.8:
  392.  
  393. This release only fixes a few serious bugs.  These include fixes for a
  394. bug that prevented most programs from working on the RS/6000, a bug
  395. that caused invalid assembler code for programs with a `switch'
  396. statement on the NS32K, a G++ problem that caused undefined names in
  397. some configurations, and several less serious problems, some of which
  398. can affect most configuration.
  399.  
  400. Noteworthy change in GCC version 2.5.7:
  401.  
  402. This release only fixes a few bugs, one of which was causing bootstrap
  403. compare errors on some systems.
  404.  
  405. Noteworthy change in GCC version 2.5.6:
  406.  
  407. A few backend bugs have been fixed, some of which only occur on one
  408. machine.
  409.  
  410. The C++ compiler in 2.5.6 includes:
  411.  
  412.  * fixes for some common crashes
  413.  * correct handling of nested types that are referenced as `foo::bar'
  414.  * spurious warnings about friends being declared static and never
  415.    defined should no longer appear
  416.  * enums that are local to a method in a class, or a class that's
  417.    local to a function, are now handled correctly.  For example:
  418.        class foo { void bar () { enum { x, y } E; x; } };
  419.        void bar () { class foo { enum { x, y } E; E baz; }; }
  420.  
  421. Noteworthy change in GCC version 2.5.5:
  422.  
  423. A large number of C++ bugs have been fixed.
  424.  
  425. The fixproto script adds prototypes conditionally on __cplusplus.
  426.  
  427. Noteworthy change in GCC version 2.5.4:
  428.  
  429. A bug fix in passing of structure arguments for the HP-PA architecture
  430. makes code compiled with GCC 2.5.4 incompatible with code compiled
  431. with earlier versions (if it passes struct arguments of 33 to 64 bits,
  432. interspersed with other types of arguments).
  433.  
  434. Noteworthy change in gcc version 2.5.3:
  435.  
  436. The method of "mangling" C++ function names has been changed.  So you
  437. must recompile all C++ programs completely when you start using GCC
  438. 2.5.  Also, GCC 2.5 requires libg++ version 2.5.  Earlier libg++
  439. versions won't work with GCC 2.5.  (This is generally true--GCC
  440. version M.N requires libg++ version M.N.)
  441.  
  442. Noteworthy GCC changes in version 2.5:
  443.  
  444. * There is now support for the IBM 370 architecture as a target.
  445. Currently the only operating system supported is MVS; GCC does not run
  446. on MVS, so you must produce .s files using GCC as a cross compiler,
  447. then transfer them to MVS to assemble them.  This port is not reliable
  448. yet.
  449.  
  450. * The Power PC is now supported.
  451.  
  452. * The i860-based Paragon machine is now supported.
  453.  
  454. * The Hitachi 3050 (an HP-PA machine) is now supported.
  455.  
  456. * The variable __GNUC_MINOR__ holds the minor version number of GCC, as
  457. an integer.  For version 2.5.X, the value is 5.
  458.  
  459. * In C, initializers for static and global variables are now processed
  460. an element at a time, so that they don't need a lot of storage.
  461.  
  462. * The C syntax for specifying which structure field comes next in an
  463. initializer is now `.FIELDNAME='.  The corresponding syntax for
  464. array initializers is now `[INDEX]='.  For example,
  465.  
  466.   char whitespace[256]
  467.     = { [' '] = 1, ['\t'] = 1, ['\n'] = 1 };
  468.  
  469. This was changed to accord with the syntax proposed by the Numerical
  470. C Extensions Group (NCEG).
  471.  
  472. * Complex numbers are now supported in C.  Use the keyword __complex__
  473. to declare complex data types.  See the manual for details.
  474.  
  475. * GCC now supports `long double' meaningfully on the Sparc (128-bit
  476. floating point) and on the 386 (96-bit floating point).  The Sparc
  477. support is enabled on on Solaris 2.x because earlier system versions
  478. (SunOS 4) have bugs in the emulation.
  479.  
  480. * All targets now have assertions for cpu, machine and system.  So you
  481. can now use assertions to distinguish among all supported targets.
  482.  
  483. * Nested functions in C may now be inline.  Just declare them inline
  484. in the usual way.
  485.  
  486. * Packed structure members are now supported fully; it should be possible 
  487. to access them on any supported target, no matter how little alignment
  488. they have.
  489.  
  490. * To declare that a function does not return, you must now write
  491. something like this (works only in 2.5):
  492.  
  493.     void fatal () __attribute__ ((noreturn));
  494.  
  495. or like this (works in older versions too):
  496.  
  497.     typedef void voidfn ();
  498.  
  499.     volatile voidfn fatal;
  500.  
  501. It used to be possible to do so by writing this:
  502.  
  503.     volatile void fatal ();
  504.  
  505. but it turns out that ANSI C requires that to mean something
  506. else (which is useless).
  507.  
  508. Likewise, to declare that a function is side-effect-free
  509. so that calls may be deleted or combined, write
  510. something like this (works only in 2.5):
  511.  
  512.     int computation () __attribute__ ((const));
  513.  
  514. or like this (works in older versions too):
  515.  
  516.     typedef int intfn ();
  517.  
  518.     const intfn computation;
  519.  
  520. * The new option -iwithprefixbefore specifies a directory to add to 
  521. the search path for include files in the same position where -I would
  522. put it, but uses the specified prefix just like -iwithprefix.
  523.  
  524. * Basic block profiling has been enhanced to record the function the
  525. basic block comes from, and if the module was compiled for debugging,
  526. the line number and filename.  A default version of the basic block
  527. support module has been added to libgcc2 that appends the basic block
  528. information to a text file 'bb.out'.  Machine descriptions can now
  529. override the basic block support module in the target macro file.
  530.  
  531. New features in g++:
  532.  
  533. * The new flag `-fansi-overloading' for C++.  Use a newly implemented
  534. scheme of argument matching for C++.  It makes g++ more accurately
  535. obey the rules set down in Chapter 13 of the Annotated C++ Reference
  536. Manual (the ARM).  This option will be turned on by default in a
  537. future release.
  538.  
  539. * The -finline-debug flag is now gone (it was never really used by the
  540.   compiler).
  541.  
  542. * Recognizing the syntax for pointers to members, e.g., "foo::*bar", has been
  543.   dramatically improved.  You should not get any syntax errors or incorrect
  544.   runtime results while using pointers to members correctly; if you do, it's
  545.   a definite bug.
  546.  
  547. * Forward declaration of an enum is now flagged as an error.
  548.  
  549. * Class-local typedefs are now working properly.
  550.  
  551. * Nested class support has been significantly improved.  The compiler
  552.   will now (in theory) support up to 240 nested classes before hitting
  553.   other system limits (like memory size).
  554.  
  555. * There is a new C version of the `g++' driver, to replace the old
  556.   shell script.  This should significantly improve the performance of
  557.   executing g++ on a system where a user's PATH environment variable
  558.   references many NFS-mounted filesystems.  This driver also works
  559.   under MS-DOS and OS/2.
  560.  
  561. * The ANSI committee working on the C++ standard has adopted a new
  562.   keyword `mutable'.  This will allow you to make a specific member be
  563.   modifiable in an otherwise const class.
  564.  
  565. Noteworthy GCC changes in version 2.4.4:
  566.  
  567.   A crash building g++ on various hosts (including m68k) has been
  568.   fixed.  Also the g++ compiler no longer reports incorrect
  569.   ambiguities in some situations where they do not exist, and
  570.   const template member functions are now being found properly.
  571.  
  572. Noteworthy GCC changes in version 2.4:
  573.  
  574. * On each target, the default is now to return short structures
  575. compatibly with the "usual" compiler on that target.
  576.  
  577. For most targets, this means the default is to return all structures
  578. in memory, like long structures, in whatever way is used on that
  579. target.  Use -freg-struct-return to enable returning short structures
  580. (and unions) in registers.
  581.  
  582. This change means that newly compiled binaries are incompatible with
  583. binaries compiled with previous versions of GCC.
  584.  
  585. On some targets, GCC is itself the usual compiler.  On these targets,
  586. the default way to return short structures is still in registers.
  587. Use -fpcc-struct-return to tell GCC to return them in memory.
  588.  
  589. * There is now a floating point emulator which can imitate the way all
  590. supported target machines do floating point arithmetic.
  591.  
  592. This makes it possible to have cross compilation to and from the VAX,
  593. and between machines of different endianness.  However, this works
  594. only when the target machine description is updated to use the new
  595. facilities, and not all have been updated.
  596.  
  597. This also makes possible support for longer floating point types.
  598. GCC 2.4 supports extended format on the 68K if you use `long double',
  599. for targets that have a 68881.  (When we have run time library
  600. routines for extended floating point, then `long double' will use
  601. extended format on all 68K targets.)
  602.  
  603. We expect to support extended floating point on the i386 and Sparc in
  604. future versions.
  605.  
  606. * Building GCC now automatically fixes the system's header files.
  607. This should require no attention.
  608.  
  609. * GCC now installs an unsigned data type as size_t when it fixes the
  610. header files (on all but a handful of old target machines).
  611. Therefore, the bug that size_t failed to be unsigned is fixed.
  612.  
  613. * Building and installation are now completely separate.
  614. All new files are constructed during the build process; 
  615. installation just copies them.
  616.  
  617. * New targets supported: Clipper, Hitachi SH, Hitachi 8300, and Sparc
  618. Lite.
  619.  
  620. * A totally new and much better Objective C run time system is included.
  621.  
  622. * Objective C supports many new features.  Alas, I can't describe them
  623. since I don't use that language; however, they are the same ones 
  624. supported in recent versions of the NeXT operating system.
  625.  
  626. * The builtin functions __builtin_apply_args, __builtin_apply and
  627. __builtin_return let you record the arguments and returned
  628. value of a function without knowing their number or type.
  629.  
  630. * The builtin string variables __FUNCTION__ and __PRETTY_FUNCTION__
  631. give the name of the function in the source, and a pretty-printed
  632. version of the name.  The two are the same in C, but differ in C++.
  633.  
  634. * Casts to union types do not yield lvalues.
  635.  
  636. * ## before an empty rest argument discards the preceding sequence
  637. of non-whitespace characters from the macro definition.
  638. (This feature is subject to change.)
  639.  
  640.  
  641. New features specific to C++:
  642.  
  643. * The manual contains a new section ``Common Misunderstandings with
  644. GNU C++'' that C++ users should read.
  645.  
  646. * #pragma interface and #pragma implementation let you use the same
  647. C++ source file for both interface and implementation.
  648. However, this mechanism is still in transition.
  649.  
  650. * Named returned values let you avoid an extra constructor call
  651. when a function result has a class type.
  652.  
  653. * The C++ operators <? and >? yield min and max, respectively.
  654.  
  655. * C++ gotos can exit a block safely even if the block has
  656. aggregates that require destructors.
  657.  
  658. * gcc defines the macro __GNUG__ when compiling C++ programs.
  659.  
  660. * GNU C++ now correctly distinguishes between the prefix and postfix
  661. forms of overloaded operator ++ and --.  To avoid breaking old
  662. code, if a class defines only the prefix form, the compiler
  663. accepts either ++obj or obj++, unless -pedantic is used.
  664.  
  665. * If you are using version 2.3 of libg++, you need to rebuild it with
  666. `make CC=gcc' to avoid mismatches in the definition of `size_t'.
  667.  
  668. Newly documented compiler options:
  669.  
  670. -fnostartfiles
  671.     Omit the standard system startup files when linking.
  672.  
  673. -fvolatile-global
  674.     Consider memory references to extern and global data items to
  675.     be volatile.
  676.  
  677. -idirafter DIR
  678.     Add DIR to the second include path.
  679.  
  680. -iprefix PREFIX
  681.     Specify PREFIX for later -iwithprefix options.
  682.  
  683. -iwithprefix DIR
  684.     Add PREFIX/DIR to the second include path.
  685.  
  686. -mv8
  687.     Emit Sparc v8 code (with integer multiply and divide).
  688. -msparclite
  689.     Emit Sparclite code (roughly v7.5).
  690.  
  691. -print-libgcc-file-name
  692.     Search for the libgcc.a file, print its absolute file name, and exit.
  693.  
  694. -Woverloaded-virtual
  695.     Warn when a derived class function declaration may be an error
  696.     in defining a C++ virtual function. 
  697.  
  698. -Wtemplate-debugging
  699.     When using templates in a C++ program, warn if debugging is
  700.     not yet fully available.
  701.  
  702. +eN
  703.     Control how C++ virtual function definitions are used
  704.     (like cfront 1.x).
  705.  
  706.